<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>弹出层</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/js/layui.js"></script>
</head>
<body>

<script>
    layui.use('layer', function(){
        var layer = layui.layer;

        // layer.msg('hello');
        layer.load(1);
    });
</script>
</body>
</html>